<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        #div_ldh{
            width: 100px;
            height: 30px;
            background-color: green;
            color: red;
            text-align: center;
            line-height: 30px;
        }

        span{
            font-size: 25px;
            font-style: italic;
        }
        #h1_bx{
            font-weight: normal;
            text-shadow: blue -5px 5px 3px;
        }
        #h1_xyj{
            text-decoration: underline;
        }
        a{
            font-weight: bold;
            text-decoration: none;
            font-size: 20px;
        }
    </style>
</head>
<body>
<div id="div_ldh">刘德华</div><div>张学友</div>
<span>香蕉</span><span>苹果</span>
<h1 id="h1_bx">冰箱</h1><h1 id="h1_xyj">洗衣机</h1>
<a href="http://www.baidu.com">百度</a>

</body>
</html>
<!--
- line-height:30px;  设置行高,   多行可以设置行间距,  单行可以实现垂直居中


- text-align:left/right/center;  设置水平对齐方式
- text-shadow:颜色  x偏移值  y偏移 浓度;    设置阴影
- text-decoration: overline上划线/underline下划线/line-through删除线/none去掉线     文本修饰

- font-size:30px;  设置字体大小
- font-weight:bold加粗/normal去掉加粗
- font-style:italic;设置斜体
- font-family: xxxx,xxxx,xxxx;       设置字体
- font: 30px  xxx,xxx,xxx;  设置字体大小+字体

-->